# import time
# from none_bot_py_plugins.net.socket_main import *
# from none_bot_py_plugins.net.proto_mod import *
#
#
# class TaskThread(threading.Thread):
#
#     def __init__(self, server_loop):
#         super(TaskThread, self).__init__()
#         self.__server_loop = server_loop
#
#     def run(self) -> None:
#         self.__server_loop.start()

#
# thread_loop = asyncio.new_event_loop()
# uuid = "123456"
# server1 = ServerLoop(uuid, thread_loop)
# task_thread = TaskThread(server1)
# task_thread.start()
# time.sleep(1)
# server1.run_task('connect', ("group", 1234))
# time.sleep(2)
# s = system_pb2.c2s_test()
# s.id = 15
# s.data = "456123"
# socket_main.cmd_server(uuid, 'send_info', s)
